package cn.gson.crm.model.mapper;

import cn.gson.crm.model.pojos.DeliveryPlan;
import cn.gson.crm.model.pojos.Outbound;
import cn.gson.crm.model.pojos.WaouDetails;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OutboundMapper {
    //查询当前登录人查询所有出库单
    public List<Outbound> selectck(Integer yid);
    //时间查询
    public List<Outbound> selecttime(@Param("yid")Integer yid, @Param("statr") String statr, @Param("endtime") String endtime);
    //条件查询
    public List<Outbound> selectwhere(@Param("yid")Integer yid, @Param("where") String where);
    //修改状态
    public void updateout(Integer oid);
    public List<WaouDetails> selectchu(Integer oid);
    //查询交付计划
    public List<DeliveryPlan> selectjiaofu();
}
